import { Component } from '@angular/core';

@Component({
  selector: 'app-modal-basic-demo',
  templateUrl: './modal-basic-demo.component.html',
  styleUrl: './modal-basic-demo.component.less',
})
export class ModalBasicDemoComponent {
  modalVisible = false;

  onCancel() {
    console.log('cancel');
    this.modalVisible = false;
  }

  onOk() {
    console.log('ok');
    this.modalVisible = false;
  }
}
